<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>The small3d library: Model.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo_s.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">The small3d library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_1bbf6a76ff8eaf46cd48acba40dce3d2.html">small3d</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Model.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_model_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#define GLM_FORCE_RADIANS</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;glm/glm.hpp&gt;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;glm/gtx/quaternion.hpp&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_image_8hpp.html">Image.hpp</a>&quot;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_file_8hpp.html">File.hpp</a>&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_material_8hpp.html">Material.hpp</a>&quot;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">namespace </span>glm {</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">class</span> Archive&gt; <span class="keywordtype">void</span> serialize(Archive&amp; archive, glm::vec3&amp; v) { archive(v.x, v.y, v.z); }</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">class</span> Archive&gt; <span class="keywordtype">void</span> serialize(Archive&amp; archive, glm::vec4&amp; v) { archive(v.x, v.y, v.z, v.w); }</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">class</span> Archive&gt; <span class="keywordtype">void</span> serialize(Archive&amp; archive, glm::mat4&amp; m) { archive(m[0], m[1], m[2], m[3]); }</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">class</span> Archive&gt; <span class="keywordtype">void</span> serialize(Archive&amp; archive, glm::quat&amp; q) { archive(q.x, q.y, q.z, q.w); }</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;}</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacesmall3d.html">small3d</a> {</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html">   38</a></span>&#160;  <span class="keyword">class </span><a class="code" href="classsmall3d_1_1_model.html">Model</a> {</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    uint32_t positionBufferObjectId = 0;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    uint32_t indexBufferObjectId = 0;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    uint32_t normalsBufferObjectId = 0;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    uint32_t uvBufferObjectId = 0;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    uint32_t jointBufferObjectId = 0;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    uint32_t weightBufferObjectId = 0;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    uint32_t currentAnimation = 0;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    std::vector&lt;uint64_t&gt; numPoses;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="comment">// Original transformation matrix (from armature/skin),</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="comment">// as read from a file</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    glm::mat4 origTransformation = glm::mat4(1.0f);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="comment">// Original rotation (from armature/skin), as read from a</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="comment">// file (in quaternion form)</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    glm::quat origRotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="comment">// brief Original translation, as read from a file</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    glm::vec3 origTranslation = glm::vec3(0.0f, 0.0f, 0.0f);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="comment">// brief Original scale, as read from a file</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    glm::vec3 origScale = glm::vec3(1.0f, 1.0f, 1.0f);</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a809cd09097b9e123813565008add1fe6">   71</a></span>&#160;    <a class="code" href="classsmall3d_1_1_material.html">Material</a> <a class="code" href="classsmall3d_1_1_model.html#a809cd09097b9e123813565008add1fe6">material</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structsmall3d_1_1_model_1_1_joint_animation_component.html">   76</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structsmall3d_1_1_model_1_1_joint_animation_component.html">JointAnimationComponent</a> {</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;      uint32_t input = 0;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;      std::vector&lt;glm::quat&gt; rotationAnimation;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      std::vector&lt;glm::vec3&gt; translationAnimation;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;      std::vector&lt;glm::vec3&gt; scaleAnimation;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;      std::vector&lt;float&gt; times;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">class</span> Archive&gt;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;      <span class="keywordtype">void</span> serialize(Archive&amp; archive) {</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        archive(input, rotationAnimation, translationAnimation, scaleAnimation, times);</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;      }</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    };</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structsmall3d_1_1_model_1_1_joint_animation.html">   91</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structsmall3d_1_1_model_1_1_joint_animation.html">JointAnimation</a> {</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;      std::string name;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;      std::vector&lt;JointAnimationComponent&gt; animationComponents;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">class</span> Archive&gt;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;      <span class="keywordtype">void</span> serialize(Archive&amp; archive) {</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        archive(name, animationComponents);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;      }</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    };</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structsmall3d_1_1_model_1_1_joint.html">  103</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structsmall3d_1_1_model_1_1_joint.html">Joint</a> {</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;      uint32_t node = 0;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;      std::string name;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;      glm::mat4 inverseBindMatrix = glm::mat4(1.0f);</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;      glm::quat rotation = glm::quat(0.0f, 0.0f, 0.0f, 1.0f);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;      glm::vec3 scale = glm::vec3(1.0f, 1.0f, 1.0f);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;      glm::vec3 translation = glm::vec3(0.0f, 0.0f, 0.0f);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;      glm::mat4 transformation = glm::mat4(1.0f);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;      std::vector&lt;uint32_t&gt; children;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;      std::vector&lt;JointAnimation&gt; animations;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;      <span class="keyword">template</span> &lt;<span class="keyword">class</span> Archive&gt;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;      <span class="keywordtype">void</span> serialize(Archive&amp; archive) {</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        archive(node, name, inverseBindMatrix, rotation, scale, translation,</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;          transformation, children, animations);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;      }</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    };</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a39352fd779afaef6ee5ef398a0481b31">  124</a></span>&#160;    glm::vec3 <a class="code" href="classsmall3d_1_1_model.html#a39352fd779afaef6ee5ef398a0481b31">scale</a> = glm::vec3(1.0f, 1.0f, 1.0f);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#ad2b52d176f49562bca07f9b238b84854">  130</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">const</span> uint32_t <a class="code" href="classsmall3d_1_1_model.html#ad2b52d176f49562bca07f9b238b84854">MAX_JOINTS_SUPPORTED</a> = 32;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#ae0c58e6b9ead5c0ba861d12425a73038">  136</a></span>&#160;    std::shared_ptr&lt;Image&gt; <a class="code" href="classsmall3d_1_1_model.html#ae0c58e6b9ead5c0ba861d12425a73038">defaultTextureImage</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#adf9422b7594956d857bc9da9da7b13e4">  143</a></span>&#160;    std::vector&lt;float&gt; <a class="code" href="classsmall3d_1_1_model.html#adf9422b7594956d857bc9da9da7b13e4">vertexData</a>;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a06b724ca272d632f25098e25ab0137a4">  148</a></span>&#160;    uint32_t <a class="code" href="classsmall3d_1_1_model.html#a06b724ca272d632f25098e25ab0137a4">vertexDataByteSize</a> = 0;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160; </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a7c99ee7bef5dff9f4ac313af643952d6">  155</a></span>&#160;    std::vector&lt;uint16_t&gt; <a class="code" href="classsmall3d_1_1_model.html#a7c99ee7bef5dff9f4ac313af643952d6">indexData</a>;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a85d48b3995956a4ee42dc8c34b195ad7">  160</a></span>&#160;    uint32_t <a class="code" href="classsmall3d_1_1_model.html#a85d48b3995956a4ee42dc8c34b195ad7">indexDataByteSize</a> = 0;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; </div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#aa9e45810ced27f9336e2e77bca2f8ba6">  168</a></span>&#160;    std::vector&lt;float&gt; <a class="code" href="classsmall3d_1_1_model.html#aa9e45810ced27f9336e2e77bca2f8ba6">normalsData</a>;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#ab62bf9713060f68517cb7ec34186e884">  173</a></span>&#160;    uint32_t <a class="code" href="classsmall3d_1_1_model.html#ab62bf9713060f68517cb7ec34186e884">normalsDataByteSize</a> = 0;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160; </div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a3dc1c38f06ad7bd19126933197e7b443">  181</a></span>&#160;    std::vector&lt;float&gt; <a class="code" href="classsmall3d_1_1_model.html#a3dc1c38f06ad7bd19126933197e7b443">textureCoordsData</a>;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a3351123ddee47d7b81b9a020ca828061">  186</a></span>&#160;    uint32_t <a class="code" href="classsmall3d_1_1_model.html#a3351123ddee47d7b81b9a020ca828061">textureCoordsDataByteSize</a> = 0;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#aa75d379c3808bfce41889f918656b87f">  192</a></span>&#160;    std::vector&lt;uint8_t&gt; <a class="code" href="classsmall3d_1_1_model.html#aa75d379c3808bfce41889f918656b87f">jointData</a>;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160; </div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a6ed04786c848d0ef209c80973dfa26e2">  197</a></span>&#160;    uint32_t <a class="code" href="classsmall3d_1_1_model.html#a6ed04786c848d0ef209c80973dfa26e2">jointDataByteSize</a> = 0;</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160; </div>
<div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a41ca4152abcc719e9048258925999f10">  203</a></span>&#160;    std::vector&lt;float&gt; <a class="code" href="classsmall3d_1_1_model.html#a41ca4152abcc719e9048258925999f10">weightData</a>;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#a0f8f0d5bf988d89b3cf7c6c16bc2871e">  208</a></span>&#160;    uint32_t <a class="code" href="classsmall3d_1_1_model.html#a0f8f0d5bf988d89b3cf7c6c16bc2871e">weightDataByteSize</a> = 0;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#ab90cce419400675c73e1196cdcb679d8">  213</a></span>&#160;    std::vector&lt;Joint&gt; <a class="code" href="classsmall3d_1_1_model.html#ab90cce419400675c73e1196cdcb679d8">joints</a>;</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160; </div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="classsmall3d_1_1_model.html#ac97a1368278ce6bf42d14470e8270dc9">  218</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classsmall3d_1_1_model.html#ac97a1368278ce6bf42d14470e8270dc9">noShadow</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160; </div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    <a class="code" href="classsmall3d_1_1_model.html#aa116b5b0c66b9e7f4dfd401ab5233a79">Model</a>();</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160; </div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    <a class="code" href="classsmall3d_1_1_model.html#aa116b5b0c66b9e7f4dfd401ab5233a79">Model</a>(<a class="code" href="classsmall3d_1_1_file.html">File</a>&amp; file, <span class="keyword">const</span> std::string&amp; meshName = <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <a class="code" href="classsmall3d_1_1_model.html#aa116b5b0c66b9e7f4dfd401ab5233a79">Model</a>(<a class="code" href="classsmall3d_1_1_file.html">File</a>&amp;&amp; file, <span class="keyword">const</span> std::string&amp; meshName = <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160; </div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    uint64_t <a class="code" href="classsmall3d_1_1_model.html#ab45b976e6906c2f86ae5d47d90ed3cd6">getNumPoses</a>();</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    </div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classsmall3d_1_1_model.html#a017c394b7f032e79786f043df8ca0fb9">getNumAnimations</a>();</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160; </div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsmall3d_1_1_model.html#a7ae390be2c19fcbd81829341fc8cafa3">setAnimation</a>(uint32_t animationIdx);</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160; </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    glm::mat4 <a class="code" href="classsmall3d_1_1_model.html#a6100343932704c5e7a647a13aaae7586">getJointTransform</a>(<span class="keywordtype">size_t</span> jointIdx, uint32_t animationIdx, uint64_t currentPose, <span class="keywordtype">float</span> seconds = 0.0f);</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160; </div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    glm::vec3 <a class="code" href="classsmall3d_1_1_model.html#ac0595f6078b8bddee06a33a11f46dadc">getOriginalScale</a>();</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160; </div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsmall3d_1_1_model.html#ab20d35ec5c791220790e149546c37553">saveBinary</a>(<span class="keyword">const</span> std::string binaryFilePath);</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160; </div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">class</span> Archive&gt;</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    <span class="keywordtype">void</span> serialize(Archive&amp; archive) {</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;      archive(currentAnimation,</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        numPoses, </div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        origTransformation,</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;        origRotation,</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        origTranslation,</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        origScale,</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a809cd09097b9e123813565008add1fe6">material</a>,</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a39352fd779afaef6ee5ef398a0481b31">scale</a>,</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#ae0c58e6b9ead5c0ba861d12425a73038">defaultTextureImage</a>,</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#adf9422b7594956d857bc9da9da7b13e4">vertexData</a>,</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a06b724ca272d632f25098e25ab0137a4">vertexDataByteSize</a>,</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a7c99ee7bef5dff9f4ac313af643952d6">indexData</a>,</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a85d48b3995956a4ee42dc8c34b195ad7">indexDataByteSize</a>,</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#aa9e45810ced27f9336e2e77bca2f8ba6">normalsData</a>,</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#ab62bf9713060f68517cb7ec34186e884">normalsDataByteSize</a>,</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a3dc1c38f06ad7bd19126933197e7b443">textureCoordsData</a>,</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a3351123ddee47d7b81b9a020ca828061">textureCoordsDataByteSize</a>,</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#aa75d379c3808bfce41889f918656b87f">jointData</a>,</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a6ed04786c848d0ef209c80973dfa26e2">jointDataByteSize</a>,</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a41ca4152abcc719e9048258925999f10">weightData</a>,</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#a0f8f0d5bf988d89b3cf7c6c16bc2871e">weightDataByteSize</a>,</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        <a class="code" href="classsmall3d_1_1_model.html#ab90cce419400675c73e1196cdcb679d8">joints</a></div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        );</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    }</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160; </div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classsmall3d_1_1_glb_file.html">GlbFile</a>;</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classsmall3d_1_1_renderer.html">Renderer</a>;</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160; </div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;  };</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclasssmall3d_1_1_model_html_aa9e45810ced27f9336e2e77bca2f8ba6"><div class="ttname"><a href="classsmall3d_1_1_model.html#aa9e45810ced27f9336e2e77bca2f8ba6">small3d::Model::normalsData</a></div><div class="ttdeci">std::vector&lt; float &gt; normalsData</div><div class="ttdoc">Array, to be treated as a 3 column table. Each &quot;row&quot; contains the x, y and z components of the vector...</div><div class="ttdef"><b>Definition:</b> Model.hpp:168</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a809cd09097b9e123813565008add1fe6"><div class="ttname"><a href="classsmall3d_1_1_model.html#a809cd09097b9e123813565008add1fe6">small3d::Model::material</a></div><div class="ttdeci">Material material</div><div class="ttdoc">The material of the model.</div><div class="ttdef"><b>Definition:</b> Model.hpp:71</div></div>
<div class="ttc" id="astructsmall3d_1_1_model_1_1_joint_animation_component_html"><div class="ttname"><a href="structsmall3d_1_1_model_1_1_joint_animation_component.html">small3d::Model::JointAnimationComponent</a></div><div class="ttdoc">animation component for joint</div><div class="ttdef"><b>Definition:</b> Model.hpp:76</div></div>
<div class="ttc" id="aclasssmall3d_1_1_glb_file_html"><div class="ttname"><a href="classsmall3d_1_1_glb_file.html">small3d::GlbFile</a></div><div class="ttdoc">.glb (glTF) file parser class. It can load meshes, textures and linear animations from samplers with ...</div><div class="ttdef"><b>Definition:</b> GlbFile.hpp:32</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_aa75d379c3808bfce41889f918656b87f"><div class="ttname"><a href="classsmall3d_1_1_model.html#aa75d379c3808bfce41889f918656b87f">small3d::Model::jointData</a></div><div class="ttdeci">std::vector&lt; uint8_t &gt; jointData</div><div class="ttdoc">Array, to be treated as a 4 column table. Each &quot;row&quot; potentially contains up to 4 joints that can inf...</div><div class="ttdef"><b>Definition:</b> Model.hpp:192</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a7c99ee7bef5dff9f4ac313af643952d6"><div class="ttname"><a href="classsmall3d_1_1_model.html#a7c99ee7bef5dff9f4ac313af643952d6">small3d::Model::indexData</a></div><div class="ttdeci">std::vector&lt; uint16_t &gt; indexData</div><div class="ttdoc">3 column table. Each element refers to a &quot;row&quot; in the vertex data table. Each &quot;row&quot; in the index data...</div><div class="ttdef"><b>Definition:</b> Model.hpp:155</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a7ae390be2c19fcbd81829341fc8cafa3"><div class="ttname"><a href="classsmall3d_1_1_model.html#a7ae390be2c19fcbd81829341fc8cafa3">small3d::Model::setAnimation</a></div><div class="ttdeci">void setAnimation(uint32_t animationIdx)</div><div class="ttdoc">Set the current animation.</div><div class="ttdef"><b>Definition:</b> Model.cpp:51</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_ac0595f6078b8bddee06a33a11f46dadc"><div class="ttname"><a href="classsmall3d_1_1_model.html#ac0595f6078b8bddee06a33a11f46dadc">small3d::Model::getOriginalScale</a></div><div class="ttdeci">glm::vec3 getOriginalScale()</div><div class="ttdoc">Get the Model's original scale (usually the one read from the file the Model was loaded from.</div><div class="ttdef"><b>Definition:</b> Model.cpp:165</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_aa116b5b0c66b9e7f4dfd401ab5233a79"><div class="ttname"><a href="classsmall3d_1_1_model.html#aa116b5b0c66b9e7f4dfd401ab5233a79">small3d::Model::Model</a></div><div class="ttdeci">Model()</div><div class="ttdoc">Default constructor.</div><div class="ttdef"><b>Definition:</b> Model.cpp:26</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_ad2b52d176f49562bca07f9b238b84854"><div class="ttname"><a href="classsmall3d_1_1_model.html#ad2b52d176f49562bca07f9b238b84854">small3d::Model::MAX_JOINTS_SUPPORTED</a></div><div class="ttdeci">static const uint32_t MAX_JOINTS_SUPPORTED</div><div class="ttdoc">Maximum number of supported joints.</div><div class="ttdef"><b>Definition:</b> Model.hpp:130</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html"><div class="ttname"><a href="classsmall3d_1_1_model.html">small3d::Model</a></div><div class="ttdoc">A 3D model. It can be loaded from a WavefrontFile or GlbFile. It can also be constructed procedurally...</div><div class="ttdef"><b>Definition:</b> Model.hpp:38</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_ab45b976e6906c2f86ae5d47d90ed3cd6"><div class="ttname"><a href="classsmall3d_1_1_model.html#ab45b976e6906c2f86ae5d47d90ed3cd6">small3d::Model::getNumPoses</a></div><div class="ttdeci">uint64_t getNumPoses()</div><div class="ttdoc">Get the number of animation poses in the current animation.</div><div class="ttdef"><b>Definition:</b> Model.cpp:43</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a41ca4152abcc719e9048258925999f10"><div class="ttname"><a href="classsmall3d_1_1_model.html#a41ca4152abcc719e9048258925999f10">small3d::Model::weightData</a></div><div class="ttdeci">std::vector&lt; float &gt; weightData</div><div class="ttdoc">Array, to be treated as a 4 column table. Each &quot;row&quot; contains the weights by which each of the corres...</div><div class="ttdef"><b>Definition:</b> Model.hpp:203</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a6100343932704c5e7a647a13aaae7586"><div class="ttname"><a href="classsmall3d_1_1_model.html#a6100343932704c5e7a647a13aaae7586">small3d::Model::getJointTransform</a></div><div class="ttdeci">glm::mat4 getJointTransform(size_t jointIdx, uint32_t animationIdx, uint64_t currentPose, float seconds=0.0f)</div><div class="ttdoc">Get a joint transform, also calculating the transorms of the parent joints in the same tree and the a...</div><div class="ttdef"><b>Definition:</b> Model.cpp:59</div></div>
<div class="ttc" id="astructsmall3d_1_1_model_1_1_joint_html"><div class="ttname"><a href="structsmall3d_1_1_model_1_1_joint.html">small3d::Model::Joint</a></div><div class="ttdoc">animation joint</div><div class="ttdef"><b>Definition:</b> Model.hpp:103</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_ab20d35ec5c791220790e149546c37553"><div class="ttname"><a href="classsmall3d_1_1_model.html#ab20d35ec5c791220790e149546c37553">small3d::Model::saveBinary</a></div><div class="ttdeci">void saveBinary(const std::string binaryFilePath)</div><div class="ttdoc">Save model data in binary format.</div><div class="ttdef"><b>Definition:</b> Model.cpp:169</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a3351123ddee47d7b81b9a020ca828061"><div class="ttname"><a href="classsmall3d_1_1_model.html#a3351123ddee47d7b81b9a020ca828061">small3d::Model::textureCoordsDataByteSize</a></div><div class="ttdeci">uint32_t textureCoordsDataByteSize</div><div class="ttdoc">Size of the texture coordinates data, in bytes.</div><div class="ttdef"><b>Definition:</b> Model.hpp:186</div></div>
<div class="ttc" id="a_image_8hpp_html"><div class="ttname"><a href="_image_8hpp.html">Image.hpp</a></div><div class="ttdoc">Image loading and manipulation.</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a06b724ca272d632f25098e25ab0137a4"><div class="ttname"><a href="classsmall3d_1_1_model.html#a06b724ca272d632f25098e25ab0137a4">small3d::Model::vertexDataByteSize</a></div><div class="ttdeci">uint32_t vertexDataByteSize</div><div class="ttdoc">Size of the vertex data, in bytes.</div><div class="ttdef"><b>Definition:</b> Model.hpp:148</div></div>
<div class="ttc" id="aclasssmall3d_1_1_renderer_html"><div class="ttname"><a href="classsmall3d_1_1_renderer.html">small3d::Renderer</a></div><div class="ttdoc">Renderer class (OpenGL 3.3 / OpenGL ES 3.0)</div><div class="ttdef"><b>Definition:</b> Renderer.hpp:58</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a39352fd779afaef6ee5ef398a0481b31"><div class="ttname"><a href="classsmall3d_1_1_model.html#a39352fd779afaef6ee5ef398a0481b31">small3d::Model::scale</a></div><div class="ttdeci">glm::vec3 scale</div><div class="ttdoc">Use this to scale the model and not origScale.</div><div class="ttdef"><b>Definition:</b> Model.hpp:124</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_ae0c58e6b9ead5c0ba861d12425a73038"><div class="ttname"><a href="classsmall3d_1_1_model.html#ae0c58e6b9ead5c0ba861d12425a73038">small3d::Model::defaultTextureImage</a></div><div class="ttdeci">std::shared_ptr&lt; Image &gt; defaultTextureImage</div><div class="ttdoc">Image found in the file the model was loaded from (empty image if not - check the size)....</div><div class="ttdef"><b>Definition:</b> Model.hpp:136</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_adf9422b7594956d857bc9da9da7b13e4"><div class="ttname"><a href="classsmall3d_1_1_model.html#adf9422b7594956d857bc9da9da7b13e4">small3d::Model::vertexData</a></div><div class="ttdeci">std::vector&lt; float &gt; vertexData</div><div class="ttdoc">The vertex data. This is an array, which is to be treated as a 4 column table, holding the x,...</div><div class="ttdef"><b>Definition:</b> Model.hpp:143</div></div>
<div class="ttc" id="astructsmall3d_1_1_model_1_1_joint_animation_html"><div class="ttname"><a href="structsmall3d_1_1_model_1_1_joint_animation.html">small3d::Model::JointAnimation</a></div><div class="ttdoc">animation for joint</div><div class="ttdef"><b>Definition:</b> Model.hpp:91</div></div>
<div class="ttc" id="a_file_8hpp_html"><div class="ttname"><a href="_file_8hpp.html">File.hpp</a></div><div class="ttdoc">File parser virtual class.</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a6ed04786c848d0ef209c80973dfa26e2"><div class="ttname"><a href="classsmall3d_1_1_model.html#a6ed04786c848d0ef209c80973dfa26e2">small3d::Model::jointDataByteSize</a></div><div class="ttdeci">uint32_t jointDataByteSize</div><div class="ttdoc">Size of the joint data, in bytes.</div><div class="ttdef"><b>Definition:</b> Model.hpp:197</div></div>
<div class="ttc" id="anamespacesmall3d_html"><div class="ttname"><a href="namespacesmall3d.html">small3d</a></div><div class="ttdef"><b>Definition:</b> BinaryFile.hpp:15</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a85d48b3995956a4ee42dc8c34b195ad7"><div class="ttname"><a href="classsmall3d_1_1_model.html#a85d48b3995956a4ee42dc8c34b195ad7">small3d::Model::indexDataByteSize</a></div><div class="ttdeci">uint32_t indexDataByteSize</div><div class="ttdoc">Size of the index data, in bytes.</div><div class="ttdef"><b>Definition:</b> Model.hpp:160</div></div>
<div class="ttc" id="aclasssmall3d_1_1_file_html"><div class="ttname"><a href="classsmall3d_1_1_file.html">small3d::File</a></div><div class="ttdoc">Abstract file parser class.</div><div class="ttdef"><b>Definition:</b> File.hpp:23</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_ac97a1368278ce6bf42d14470e8270dc9"><div class="ttname"><a href="classsmall3d_1_1_model.html#ac97a1368278ce6bf42d14470e8270dc9">small3d::Model::noShadow</a></div><div class="ttdeci">bool noShadow</div><div class="ttdoc">Should the model produce a shadow?</div><div class="ttdef"><b>Definition:</b> Model.hpp:218</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a017c394b7f032e79786f043df8ca0fb9"><div class="ttname"><a href="classsmall3d_1_1_model.html#a017c394b7f032e79786f043df8ca0fb9">small3d::Model::getNumAnimations</a></div><div class="ttdeci">size_t getNumAnimations()</div><div class="ttdoc">Get the number of available animations.</div><div class="ttdef"><b>Definition:</b> Model.cpp:47</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_ab90cce419400675c73e1196cdcb679d8"><div class="ttname"><a href="classsmall3d_1_1_model.html#ab90cce419400675c73e1196cdcb679d8">small3d::Model::joints</a></div><div class="ttdeci">std::vector&lt; Joint &gt; joints</div><div class="ttdoc">The model's joints.</div><div class="ttdef"><b>Definition:</b> Model.hpp:213</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a3dc1c38f06ad7bd19126933197e7b443"><div class="ttname"><a href="classsmall3d_1_1_model.html#a3dc1c38f06ad7bd19126933197e7b443">small3d::Model::textureCoordsData</a></div><div class="ttdeci">std::vector&lt; float &gt; textureCoordsData</div><div class="ttdoc">Array, to be treated as a 2 column table. Each &quot;row&quot; contains the x and y components of the pixel coo...</div><div class="ttdef"><b>Definition:</b> Model.hpp:181</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_ab62bf9713060f68517cb7ec34186e884"><div class="ttname"><a href="classsmall3d_1_1_model.html#ab62bf9713060f68517cb7ec34186e884">small3d::Model::normalsDataByteSize</a></div><div class="ttdeci">uint32_t normalsDataByteSize</div><div class="ttdoc">Size of the normals data, in bytes.</div><div class="ttdef"><b>Definition:</b> Model.hpp:173</div></div>
<div class="ttc" id="aclasssmall3d_1_1_material_html"><div class="ttname"><a href="classsmall3d_1_1_material.html">small3d::Material</a></div><div class="ttdoc">A 3D model material.</div><div class="ttdef"><b>Definition:</b> Material.hpp:23</div></div>
<div class="ttc" id="a_material_8hpp_html"><div class="ttname"><a href="_material_8hpp.html">Material.hpp</a></div><div class="ttdoc">Material structure.</div></div>
<div class="ttc" id="aclasssmall3d_1_1_model_html_a0f8f0d5bf988d89b3cf7c6c16bc2871e"><div class="ttname"><a href="classsmall3d_1_1_model.html#a0f8f0d5bf988d89b3cf7c6c16bc2871e">small3d::Model::weightDataByteSize</a></div><div class="ttdeci">uint32_t weightDataByteSize</div><div class="ttdoc">Size of the weight data, in bytes.</div><div class="ttdef"><b>Definition:</b> Model.hpp:208</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
